package com.cloudkinto.service.regular;

import com.cloudkinto.entity.PlatformOrderSplitRegularDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.vo.regular.PlatRegularSortReq;
import com.cloudkinto.vo.regular.PlatRegularStatusReq;
import com.cloudkinto.vo.regular.split.PlatRegularSplitAddReq;
import com.cloudkinto.vo.regular.split.PlatRegularSplitUpdateReq;
import com.cloudkinto.vo.regular.split.PlatSplitRegularPageDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author hua
 * @since 2025-03-10
 */
public interface PlatformOrderSplitRegularService extends IService<PlatformOrderSplitRegularDo> {

    SingleResult addInit();

    Object add(PlatRegularSplitAddReq req, Long userId, Long companyId);

    SingleResult updateInit(Long id);

    Object update(PlatRegularSplitUpdateReq updateVo, Long userId, Long companyId);

    int delete(List<Long> ids, Long userId, Long companyId);

    Object detail(Long id);

    SingleResult pageInit(Long companyId);

    List<PlatSplitRegularPageDto> getList(Map<String, Object> map);

    PageResult getListPage(Map<String, Object> map);

    void updateSort(PlatRegularSortReq req, Long userId, Long companyId);

    void updateRegularStatus(PlatRegularStatusReq req, Long userId, Long companyId);


}
